import { createStore } from 'vuex'

import topNav from "./modules/home/TopNav.js"
import PreShow from "./modules/home/PreShow";
import DetailData from "./modules/detail/DetailData";
import ShopCarData from "./modules/shopcar/ShopCarData";
import ServiceMsg from "./modules/shopcar/ServiceMsg";
import ShippingAddress from "./modules/address/ShippingAddress";
import Order from "./modules/order/Order";
import OrderComMsg from "./modules/order/OrderComMsg";
import OrderSubmitData from "./modules/order/OrderSubmitData";
import UserMsg from "./modules/users/UserMsg";

export default createStore({
  modules: {
    topNav,
    PreShow,
    DetailData,
    ShopCarData,
    ServiceMsg,
    ShippingAddress,
    Order,
    OrderComMsg,
    OrderSubmitData,
    UserMsg
  }
})
